<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <base th:href="${#servletContext.getContextPath()+'/'}">
</head>
<body>
demo page<br>
msg:<span th:text="${msg}">ABC</span><br>
name:<input 2 type="text" name="name" th:text="A" th:value="B">;

</body>
</html>